package com.zhongjian.technologycal.mall.activity.main.bean;

import java.util.List;

/**
 * Created by wei on 2018/4/11.
 */

public class CourseHomeBean {


    /**
     * error_code : 0
     * error_message : 成功
     * data : {"id":1,"coursename":"蛋炒饭","coursestarttime":"2018-04-26","coursesite":"杭州","courseprice":1000,"curstatus":0,"coursebrief":"课程简介","coursetype":1,"courseTypeBean":{"typename":"热门推荐"},"coursePhotos":[{"photo":"/upload/pics/nohead.png"}]}
     */

    private int error_code;
    private String error_message;
    private DataBean data;

    public int getError_code() {
        return error_code;
    }

    public void setError_code(int error_code) {
        this.error_code = error_code;
    }

    public String getError_message() {
        return error_message;
    }

    public void setError_message(String error_message) {
        this.error_message = error_message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * coursename : 蛋炒饭
         * coursestarttime : 2018-04-26
         * coursesite : 杭州
         * courseprice : 1000
         * curstatus : 0
         * coursebrief : 课程简介
         * coursetype : 1
         * courseTypeBean : {"typename":"热门推荐"}
         * coursePhotos : [{"photo":"/upload/pics/nohead.png"}]
         */

        private int id;
        private String coursename;
        private String coursestarttime;
        private String coursesite;
        private double courseprice;
        private int curstatus;
        private String coursebrief;
        private int coursetype;
        private CourseTypeBeanBean courseTypeBean;
        private List<CoursePhotosBean> coursePhotos;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getCoursename() {
            return coursename;
        }

        public void setCoursename(String coursename) {
            this.coursename = coursename;
        }

        public String getCoursestarttime() {
            return coursestarttime;
        }

        public void setCoursestarttime(String coursestarttime) {
            this.coursestarttime = coursestarttime;
        }

        public String getCoursesite() {
            return coursesite;
        }

        public void setCoursesite(String coursesite) {
            this.coursesite = coursesite;
        }

        public double getCourseprice() {
            return courseprice;
        }

        public void setCourseprice(double courseprice) {
            this.courseprice = courseprice;
        }

        public int getCurstatus() {
            return curstatus;
        }

        public void setCurstatus(int curstatus) {
            this.curstatus = curstatus;
        }

        public String getCoursebrief() {
            return coursebrief;
        }

        public void setCoursebrief(String coursebrief) {
            this.coursebrief = coursebrief;
        }

        public int getCoursetype() {
            return coursetype;
        }

        public void setCoursetype(int coursetype) {
            this.coursetype = coursetype;
        }

        public CourseTypeBeanBean getCourseTypeBean() {
            return courseTypeBean;
        }

        public void setCourseTypeBean(CourseTypeBeanBean courseTypeBean) {
            this.courseTypeBean = courseTypeBean;
        }

        public List<CoursePhotosBean> getCoursePhotos() {
            return coursePhotos;
        }

        public void setCoursePhotos(List<CoursePhotosBean> coursePhotos) {
            this.coursePhotos = coursePhotos;
        }

        public static class CourseTypeBeanBean {
            /**
             * typename : 热门推荐
             */

            private String typename;

            public String getTypename() {
                return typename;
            }

            public void setTypename(String typename) {
                this.typename = typename;
            }
        }

        public static class CoursePhotosBean {
            /**
             * photo : /upload/pics/nohead.png
             */

            private String photo;

            public String getPhoto() {
                return photo;
            }

            public void setPhoto(String photo) {
                this.photo = photo;
            }
        }
    }
}
